package com.apusic.service;

import java.util.List;

import com.apusic.dao.VersionGroupRDao;
import com.apusic.entity.VersionGroupR;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;


/** 
 * @author 王二雷
 * @version 2017-12-13 下午4:22:42
 * @Email 
 */
@Qualifier
@Service("versionGroupRService")
public class VersionGroupRService{
	
	@Autowired
	private VersionGroupRDao versionGroupRDao;

	public List<VersionGroupR> selectByObj(VersionGroupR group) {
		// TODO Auto-generated method stub
		return versionGroupRDao.selectByObj(group);
	}

	public void saveVersionGroupR(VersionGroupR group) {
		versionGroupRDao.insert(group);
		
	}

	public int updateVersionGroupR(VersionGroupR group) {
		return versionGroupRDao.updateByPrimaryKeySelective(group);
		
	}

}
